package com.ljx.qqpro.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ljx.qqpro.common.utils.PageUtil;
import com.ljx.qqpro.common.utils.Query;

import com.ljx.qqpro.dao.ChatTagDao;
import com.ljx.qqpro.entity.ChatTagEntity;
import com.ljx.qqpro.service.ChatTagService;


@Service("chatTagService")
public class ChatTagServiceImpl extends ServiceImpl<ChatTagDao, ChatTagEntity> implements ChatTagService {

    @Override
    public PageUtil queryPage(Map<String, Object> params) {
        IPage<ChatTagEntity> page = this.page(
                new Query<ChatTagEntity>().getPage(params),
                new QueryWrapper<ChatTagEntity>()
        );

        return new PageUtil(page);
    }

}